import { defineStore } from "pinia";

export const useUserStore:any=defineStore('user',{
    state:()=>{
        return{
            str:'好好学习，天天向上',
            userInfo:{},
        };
    },
    persist: {
        storage: sessionStorage,
      },
});